home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
cenvid9.zip
/
REBOOT_1.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-03-04
|
1KB
|
27 lines
@echo off
REM *****************************************************************
REM *** Reboot_1.bat - Reboot computer by jumping calling the ***
REM *** ver.1 boot interrupt 0x19. To provide protection ***
REM *** from accidentaly rebooting, you must enter ***
REM *** PLEASE as the first parameter. ***
REM *****************************************************************
REM **************************************************************
REM *** Check that "PLEASE" is the first parameter. CEnvi ***
REM *** return errorlevel if it is not please. ***
REM **************************************************************
CEnvi return( strcmpi("%1","Please") ? 1 : 0 )
if errorlevel 1 GOTO PLEASE
REM ***************************************************
REM *** Interrupt 0x19 is provided for a warm boot. ***
REM ***************************************************
CEnvi reg.ax = 0; interrupt(0x19,reg);
:PLEASE
ECHO Reboot_1.bat will reboot your computer. To execute Reboot.bat you
ECHO must enter: REBOOT_1 PLEASE